package com.hdw.job.bean.model;

import java.io.Serializable;
import java.util.Date;

public class EtlGroupBatch implements Serializable {

	private static final long serialVersionUID = 1L;

	private Long idGroupBatch;

	private Long idGroup;

	private Long idJob;

	private String status;

	private Date dtSysCre;

	public Long getIdGroupBatch() {
	    return idGroupBatch;
	}

	public void setIdGroupBatch(Long idGroupBatch) {
	    this.idGroupBatch = idGroupBatch;
	}

	public Long getIdGroup() {
	    return idGroup;
	}

	public void setIdGroup(Long idGroup) {
	    this.idGroup = idGroup;
	}

	public Long getIdJob() {
	    return idJob;
	}

	public void setIdJob(Long idJob) {
	    this.idJob = idJob;
	}

	public String getStatus() {
	    return status;
	}

	public void setStatus(String status) {
	    this.status = status == null ? null : status.trim();
	}

	public Date getDtSysCre() {
	    return dtSysCre;
	}

	public void setDtSysCre(Date dtSysCre) {
	    this.dtSysCre = dtSysCre;
	}

	@Override
	public boolean equals(Object that) {
	    if (this == that) {
	        return true;
	    }
	    if (that == null) {
	        return false;
	    }
	    if (getClass() != that.getClass()) {
	        return false;
	    }
	    EtlGroupBatch other = (EtlGroupBatch) that;
	    return (this.getIdGroupBatch() == null ? other.getIdGroupBatch() == null : this.getIdGroupBatch().equals(other.getIdGroupBatch())) && (this.getIdGroup() == null ? other.getIdGroup() == null : this.getIdGroup().equals(other.getIdGroup())) && (this.getIdJob() == null ? other.getIdJob() == null : this.getIdJob().equals(other.getIdJob())) && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus())) && (this.getDtSysCre() == null ? other.getDtSysCre() == null : this.getDtSysCre().equals(other.getDtSysCre()));
	}

	@Override
	public int hashCode() {
	    final int prime = 31;
	    int result = 1;
	    result = prime * result + ((getIdGroupBatch() == null) ? 0 : getIdGroupBatch().hashCode());
	    result = prime * result + ((getIdGroup() == null) ? 0 : getIdGroup().hashCode());
	    result = prime * result + ((getIdJob() == null) ? 0 : getIdJob().hashCode());
	    result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
	    result = prime * result + ((getDtSysCre() == null) ? 0 : getDtSysCre().hashCode());
	    return result;
	}

	@Override
	public String toString() {
	    StringBuilder sb = new StringBuilder();
	    sb.append(getClass().getSimpleName());
	    sb.append(" [");
	    sb.append("Hash = ").append(hashCode());
	    sb.append(", serialVersionUID=").append(serialVersionUID);
	    sb.append(", idGroupBatch=").append(idGroupBatch);
	    sb.append(", idGroup=").append(idGroup);
	    sb.append(", idJob=").append(idJob);
	    sb.append(", status=").append(status);
	    sb.append(", dtSysCre=").append(dtSysCre);
	    sb.append("]");
	    return sb.toString();
	}


}